package cn.iocoder.yudao.module.enterprise.controller.admin.enterpriseJob.vo;

import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

import java.util.Date;


/**
 * 招聘职位 Excel VO
 *
 * @author 谭万全
 */
@Data
public class EnterpriseJobExcelVO {

    @ExcelProperty("企业名称")
    private String companyName;

    @ExcelProperty("所属行业")
    private String industry;

    @ExcelProperty("城市")
    private String city;

    @ExcelProperty("职位名称")
    private String jobName;

    @ExcelProperty(value = "薪资类型", converter = DictConvert.class)
    @DictFormat("salary_type") // TODO 代码优化：建议设置到对应的 XXXDictTypeConstants 枚举类中
    private String salaryUnit;

    @ExcelProperty("学历要求")
    private String education;

    @ExcelProperty("工作地址")
    private String workAddress;

    @ExcelProperty(value = "职位状态", converter = DictConvert.class)
    @DictFormat("member_job_status") // TODO 代码优化：建议设置到对应的 XXXDictTypeConstants 枚举类中
    private String status;

    @ExcelProperty("职位点击量")
    private Integer clickCount;

    @ExcelProperty("职位投递量")
    private Integer postCount;

    @ExcelProperty("置顶状态")
    private String topStatus;

    @ExcelProperty("更新时间")
    private Date updateTime;

    @ExcelProperty("发布时间")
    private Date publishTime;

}
